Document Solutions for Word
DS.Documents.Word Assembly / GrapeCity.Documents.Word Namespace / GcWordDocument Class / SplitDocument Method / SplitDocument(ValueTuple<RangeBase,FormattingCopyStrategy>[]) Method
An array of pairs of ranges in the current document, and corresponding formatting copy strategies.

In This Topic
    SplitDocument(ValueTuple<RangeBase,FormattingCopyStrategy>[]) Method
    In This Topic
    Splits the current document into several documents based on specified ranges and formatting copy strategies.
    Syntax
    'Declaration
     
    Public Overloads Function SplitDocument( _
       ByVal ParamArray splitRanges() As System.ValueTuple(Of RangeBase,FormattingCopyStrategy) _
    ) As System.Collections.Generic.IEnumerable(Of GcWordDocument)
    public System.Collections.Generic.IEnumerable<GcWordDocument> SplitDocument( 
       params System.ValueTuple<RangeBase,FormattingCopyStrategy>[] splitRanges
    )

    Parameters

    splitRanges
    An array of pairs of ranges in the current document, and corresponding formatting copy strategies.

    Return Value

    A collection of documents created according to the specified splitRanges.
    See Also